package cn.school.teacher.evaluation.dao;

import cn.school.teacher.evaluation.entity.TeacherEvaluationItem;
import cn.school.teacher.evaluation.entity.rspdo.EvaluationItemRspDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherEvaluationItemDao  extends BaseMapper<TeacherEvaluationItem> {
    List<EvaluationItemRspDo> getList(@Param("tescId") Long tescId);

    List<EvaluationItemRspDo> getById(Long teitId);


    /**
     * 计算，某个考评方案,所有考评项的总分
     * */
    int sumScoreCheck(@Param("tescId") Long tescId);
}
